/* pages/productDetail/productDetail.wxss */

.container {
  padding: 30rpx;
}

.swiper-container {
  height: 300rpx;
  margin-bottom: 50rpx;
}

.title {
  font-size: 32rpx;
  font-weight: 500;
  color: #0E0E0E;
  line-height: 32rpx;
}

.divider {
  width: 690rpx;
  height: 1rpx;
  background: #E4E6E7;
  border-radius: 1px;
  margin-top: 29rpx;
  margin-bottom: 40rpx;
}

.button-wraper {
  width: 690rpx;
  display: flex;
  justify-content: space-between;
  position: fixed;
  bottom: constant(safe-area-inset-bottom);
  /* 兼容 iOS < 11.2 */
  bottom: env(safe-area-inset-bottom);
  margin-bottom: 20rpx;

  .select-button {
    width: 330rpx;
    padding: 36rpx 0rpx;
    line-height: 30rpx;
    background: #EBECFF;
    border-radius: 20rpx;
    font-size: 30rpx;
    font-weight: 600;
    color: #555DF5;
  }

  .take-button {
    width: 330rpx;
    padding: 36rpx 0rpx;
    line-height: 30rpx;
    background: #555DF5;
    border-radius: 20rpx;
    font-size: 30rpx;
    font-weight: 600;
    color: #FFFFFF;
  }
}

.info-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;

  .info-item {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;

    .info-item-title {
      font-size: 24rpx;
      line-height: 24rpx;
      font-weight: 400;
      color: #828384;
    }

    .info-item-content {
      margin-top: 24rpx;
      font-size: 30rpx;
      line-height: 30rpx;
      font-weight: 500;
      color: #242424;
    }
  }
}

.desc-wrapper {

  background: #F5F6F9;
  border-radius: 20px;
  margin-top: 50rpx;
  margin-bottom: 130rpx;
  padding: 30rpx 30rpx 0rpx 30rpx;

  .desc-tile {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-bottom: 30rpx;

    .desc-title {
      font-size: 28rpx;
      font-weight: 400;
      color: #8E8E8E;
      line-height: 28rpx;
    }

    .desc-content {
      font-size: 28rpx;
      font-weight: 400;
      color: #262626;
      line-height: 30rpx;
      max-width: 418rpx;
    }

    image {
      width: 30rpx;
      height: 30rpx;
    }

    .color-box {
      display: flex;
      flex-direction: row;

      .color-block {
        height: 28rpx;
        width: 28rpx;
        margin-left: 8rpx;
        border: 1rpx solid #E4E6E7;
        border-radius: 2rpx;
      }
    }
  }
}

.vertial-divider {
  width: 1rpx;
  height: 50rpx;
  background: #E4E6E7;
  border-radius: 1rpx;
}